// @charset "utf-8";
/**
 * 客户端跳转类
 */
define(function (require, exports, module) {
	var gHexinApiQuote = '';
	try {
		gHexinApiQuote = external.createObject('Quote');
	} catch (exp) {
		//
	}

	var ClientJump = function () {
		this.jumpClientStockPage = function (pid, code, stockList) {
			try {
				if ('' === gHexinApiQuote) {
					return;
				}

				gHexinApiQuote.syncStockList({
					'id' : pid,
					'code' : code,
					'period' : "16384",
					'stocklist' : stockList
				});
			} catch (e) {
				alert(e.message);
			}
		};
	};

	module.exports = new ClientJump();
});